package com.sunq.studio.sys.dao;

import com.sunq.studio.sys.domain.TbUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface TbUserDao {


    int deleteByPrimaryKey( Integer id);

    int insertSelective(TbUser record);


    TbUser selectByPrimaryKey(@Param("id") Integer id);

    TbUser selectByOpenId(@Param("wechatOpenid") String id);

    int updateByPrimaryKeySelective(TbUser record);

    List<TbUser> selectByVipLevel(@Param("vipLevel") Integer vipLevel);

    List<TbUser> getTeacherList();

}